<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "https://www.w3.org/TR/html4/loose.dtd">
<html lang="zh-CN"><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"><meta http-equiv="Content-Language" content="zh-CN"><link href="stylesheet.css" media="all" rel="stylesheet" type="text/css">
<title>并发控制</title>
<script> var _hmt = _hmt || []; (function() { var hm = document.createElement("script"); hm.src = "https://hm.baidu.com/hm.js?d286c55b63a3c54a1e43d10d4c203e75"; var s = document.getElementsByTagName("script")[0]; s.parentNode.insertBefore(hm, s); })(); </script>
</head><body class="CHAPTER">
<div>
<table summary="Header navigation table" width="100%" border="0" cellpadding="0" cellspacing="0">
<tr><th colspan="5" align="center" valign="bottom">PostgreSQL 8.2.3 中文文档</th></tr>
<tr><td width="10%" align="left" valign="top"><a href="indexes-examine.html" accesskey="P">后退</a></td><td width="10%" align="left" valign="top"><a href="indexes.html">快退</a></td><td width="60%" align="center" valign="bottom"></td><td width="10%" align="right" valign="top"><a href="performance-tips.html">快进</a></td><td width="10%" align="right" valign="top"><a href="mvcc-intro.html" accesskey="N">前进</a></td></tr>
</table>
<hr align="LEFT" width="100%"></div>
<div class="CHAPTER"><h1><a name="MVCC"></a>章12. 并发控制</h1>
<div>
<dl>
<dt><b>目录</b></dt>
<dt>12.1. <a href="mvcc-intro.html">介绍</a></dt>
<dt>12.2. <a href="transaction-iso.html">事务隔离</a></dt>
<dd><dl>
<dt>12.2.1. <a href="transaction-iso.html#XACT-READ-COMMITTED">读已提交隔离级别</a></dt>
<dt>12.2.2. <a href="transaction-iso.html#XACT-SERIALIZABLE">可串行化隔离级别</a></dt>
</dl></dd>
<dt>12.3. <a href="explicit-locking.html">明确锁定</a></dt>
<dd><dl>
<dt>12.3.1. <a href="explicit-locking.html#LOCKING-TABLES">表级锁</a></dt>
<dt>12.3.2. <a href="explicit-locking.html#LOCKING-ROWS">行级锁</a></dt>
<dt>12.3.3. <a href="explicit-locking.html#LOCKING-DEADLOCKS">死锁</a></dt>
<dt>12.3.4. <a href="explicit-locking.html#ADVISORY-LOCKS">咨询锁</a></dt>
</dl></dd>
<dt>12.4. <a href="applevel-consistency.html">应用层数据完整性检查</a></dt>
<dt>12.5. <a href="locking-indexes.html">锁和索引</a></dt>
</dl>
</div>
<a name="AEN16328"></a>
<p>本章描述 PostgreSQL 数据库系统在多个会话试图同时访问同一数据时的表现。并发控制的目标是为所有会话提供高效的访问，同时还要维护严格的数据完整性。每个数据库应用开发人员都应该熟悉本章讨论的话题。</p>
</div>
<div>
<hr align="LEFT" width="100%">
<table summary="Footer navigation table" width="100%" border="0" cellpadding="0" cellspacing="0">
<tr><td width="33%" align="left" valign="top"><a href="indexes-examine.html" accesskey="P">后退</a></td><td width="34%" align="center" valign="top"><a href="index.html" accesskey="H">首页</a></td><td width="33%" align="right" valign="top"><a href="mvcc-intro.html" accesskey="N">前进</a></td></tr>
<tr><td width="33%" align="left" valign="top">检查索引的使用</td><td width="34%" align="center" valign="top"><a href="sql.html" accesskey="U">上一级</a></td><td width="33%" align="right" valign="top">介绍</td></tr>
</table>
</div>
</body></html>